package org.shijiagen.manager;

import org.mybatis.spring.annotation.MapperScan;
import org.shijiagen.clients.*;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableCaching
@MapperScan(basePackages = "org.shijiagen.manager.mapper")
@SpringBootApplication(scanBasePackages = {"org.shijiagen.manager","org.shijiagen.handler"})
@EnableFeignClients(clients = {UserClient.class,CategoryClient.class, SearchClient.class, ProductClient.class, OrderClient.class})
public class BackManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(BackManagerApplication.class,args);
    }
}
